// ProductFormatProperty.h: interface for the ProductFormatProperty class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PRODUCTFORMATPROPERTY_H__703B6F0B_E75C_4601_A913_4140ACADBBF4__INCLUDED_)
#define AFX_PRODUCTFORMATPROPERTY_H__703B6F0B_E75C_4601_A913_4140ACADBBF4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

namespace JointSystem
{
enum ProductPropertyType
{
	eOther = -1,
	eLong = 0,
	eDouble = 1,
	eString = 2,
	eGePoint3d = 3,
	eGeVector3d = 4
};
/*
class Property
{
public:
	ProductPropertyType Type() const { return m_type; }
	const CString& DefaultValue() const { return m_defval; }

public:
	void Type( ProductPropertyType ppt ) { m_type = ppt; }
	void DefaultValue( const CString& defval ) { m_defval = defval; }

private:
	ProductPropertyType m_type;
	CString m_defval;
};*/

class ProductFormatProperty  
{
public:
	ProductFormatProperty() {}
	virtual ~ProductFormatProperty() {}

public:
//	const CString& Name() const { return m_name; }
	const CString& Description() const { return m_desc; }
	ProductPropertyType Type() const { return m_type; }
	const CString& DefaultValue() const { return m_defval; }

public:
//	void Name( const CString& name ) { m_name = name; }
	void Description( const CString& desc ) { m_desc = desc; }
	void Type( ProductPropertyType ppt ) { m_type = ppt; }
	void DefaultValue( const CString& defval ) { m_defval = defval; }

private:
//	CString m_name;
	CString m_desc;
	ProductPropertyType m_type;
	CString m_defval;
};

};

#endif // !defined(AFX_PRODUCTFORMATPROPERTY_H__703B6F0B_E75C_4601_A913_4140ACADBBF4__INCLUDED_)
